package com.china08.yxyapi.repository.db.live;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.live.YxyLiveLessonItem;

public interface YxyLiveLessonItemRepository extends JpaRepository<YxyLiveLessonItem, String> {

    List<YxyLiveLessonItem> findByLessonId(String id);

    YxyLiveLessonItem findById(String id);

    List<YxyLiveLessonItem> findByLessonIdIn(List<String> lessonIdList);

    List<YxyLiveLessonItem> findByLessonIdOrderByBeginDateAsc(String id);

}
